from  selenium  import  webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys
#from selenium.webdriver.support.select import  webdriver
#绵阳职业技术学院
import time
driver = webdriver.Chrome()
driver.maximize_window()
driver.get('http://jwc.mypt.edu.cn/')

driver.find_element_by_link_text('学校简介').click()
#time.sleep(2)
#driver.switch_to.window(driver.window_handles[0])
#ActionChains(driver).send_keys(Keys.ARROW_DOWN).perform()
driver.execute_script('window.scrollTo(0,800)')
driver.find_element_by_tag_name()
driver.find_element_by_xpath()
driver.find_element_by_name('se12w');
#Select(11).select_by_visible_text('软件技术')
#driver.get_screenshot_ad_file(r 'c:/1.jpg')

